Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

388
Vistas
How to fix this problem "Declaration or statement expected"

I have this code in a index.html file to render some plots using flask. The code is working but VSCODE keeps warning me about a Declaration or Statement expected error in lines 1 and 2:

As i am not a javascript programmer, can someone help me with this?

<script type="text/javascript">

        (1)var figures = {{figuresJSON|safe}};
        (2)var ids = {{ids|safe}};
        for(var i in figures){
            Plotly.plot(ids[i],
                    figures[i].data,
                    figures[i].layout || {});
        }
    </script>

that link didnt help me

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda